package com.iot.ic.dao;

import com.iot.ic.model.FaultSupport;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface FaultSupportMapper {
    int deleteByPrimaryKey(Integer faultSupportId);

    int insert(FaultSupport record);

    int insertSelective(FaultSupport record);

    FaultSupport selectByPrimaryKey(Integer faultSupportId);

    int updateByPrimaryKeySelective(FaultSupport record);

    int updateByPrimaryKey(FaultSupport record);

    List<Map<String,Object>> selectFaultSupportList(FaultSupport faultSupport);
    
    FaultSupport getFaultSupportByTeamId(Integer teamId);
}